package com.flower.enjoyment.flower.mapper;

import com.flower.enjoyment.flower.entity.UserCashOut;
import com.flower.enjoyment.flower.entityDo.UserCashOutDo;
import com.github.pagehelper.Page;
import org.apache.ibatis.annotations.Param;

public interface UserCashOutMapper {
    int deleteByPrimaryKey(String id);

    int insert(UserCashOut record);

    int insertSelective(UserCashOut record);

    UserCashOutDo selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(UserCashOut record);

    int updateByPrimaryKey(UserCashOut record);

    /**
     * 根据用户id获取用户体现列表
     * @param userId
     * @return
     */
    Page<UserCashOutDo> selectUserCashOutByPage(@Param("userId") String userId);
}